#显示编译过程
set(CMAKE_VERBOSE_MAKEFILE off)

# set(USE_CXX_EXCEPTION on) # 使用c++异常

# add_link_options(-u _printf_float)  # 打印浮点数

# Uncomment for hardware floating point
# add_compile_definitions(ARM_MATH_CM4;ARM_MATH_MATRIX_CHECK;ARM_MATH_ROUNDING)

# Uncomment for software floating point
# add_compile_options(-mfloat-abi=soft)

# uncomment to mitigate c++17 absolute addresses warnings
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-register")

# CMAKE_C_FLAGS    # C   Flags
# CMAKE_CXX_FLAGS  # C++ Flags
# add_compile_options() # 对所有编译

set(hal_extraFile
    ""
)

# tim.c
# tim_ex.c
# adc.c
# adc_ex.c
# i2c.c
# spi.c
# eth.c
# exti.c